class Person(object):
    def __init__(self, name, age):
        self._name = name
        self._age = age

    @property
    def age(self):
        return self._age

    @age.setter
    def age(self, age):
        self._age = age

    @property
    def name(self):
        return self._name

    def play(self):
        if self._age <= 16:
            print(f'{self._name} is playing ludo chess')
        else:
            print(f'{self._name} is playing fight landlords')


def main():
    p1 = Person('Anna', 12)
    p1.play()
    p1.age = 17
    p1.play()
    p1.name = 'Ben'


if __name__ == '__main__':
    main()

